import { UploadOutlined } from '@ant-design/icons';
import {
  ProForm,
  // ProFormDateRangePicker,
  ProFormText,
} from '@ant-design/pro-components';

import type { FormInstance } from 'antd';
import { Button, Form, message, Modal, Upload } from 'antd';
import ImgCrop from 'antd-img-crop';
import type { RcFile, UploadFile, UploadProps } from 'antd/lib/upload/interface';
import { useRef, useState } from 'react';
import { updateAcitvity } from '../service';
import styles from '../style.less';
import type { activityItem, updateactivityItem } from '../types';

interface undateParkList {
  ruleData: activityItem;
  visible: boolean;
  unVisible: () => void;
  reloadFunc: () => void;
}

export default (props: undateParkList) => {
  const { visible, unVisible, ruleData, reloadFunc } = props;
  return (
    <div>
      <Modal
        onCancel={unVisible}
        centered
        visible={visible}
        title="更新活动"
        width={800}
        footer={null}
      >
        1
      </Modal>
    </div>
  );
};
